curl --request GET \
--url https://api.loops.fi/api/v3/checkout/sessions \
--header 'Authorization: Bearer <token>'{
"object": "list",
"data": [
{
"id": "<string>",
"object": "checkout.session",
"amount_subtotal": 123,
"amount_total": 123,
"cancel_url": "<string>",
"currency": "<string>",
"livemode": true,
"mode": "payment",
"payment_status": "paid",
"success_url": "<string>",
"url": "<string>",
"automatic_tax": {
"enabled": true,
"status": "complete"
},
"billing_address_collection": "auto",
"client_reference_id": "<string>",
"customer": "<string>",
"customer_email": "[email protected]",
"expires_at": 123,
"locale": "<string>",
"metadata": {},
"payment_intent": "<string>",
"payment_method_types": [
"<string>"
],
"setup_intent": "<string>",
"shipping": {
"address": {
"city": "<string>",
"country": "<string>",
"line1": "<string>",
"line2": "<string>",
"postal_code": "<string>",
"state": "<string>"
},
"name": "<string>",
"phone": "<string>"
},
"submit_type": "auto",
"total_details": {
"amount_discount": 123,
"amount_shipping": 123,
"amount_tax": 123
},
"productName": "<string>",
"externalCustomerId": "<string>"
}
],
"has_more": true,
"url": "<string>"
}List all checkout sessions (Stripe-compatible)
curl --request GET \
--url https://api.loops.fi/api/v3/checkout/sessions \
--header 'Authorization: Bearer <token>'{
"object": "list",
"data": [
{
"id": "<string>",
"object": "checkout.session",
"amount_subtotal": 123,
"amount_total": 123,
"cancel_url": "<string>",
"currency": "<string>",
"livemode": true,
"mode": "payment",
"payment_status": "paid",
"success_url": "<string>",
"url": "<string>",
"automatic_tax": {
"enabled": true,
"status": "complete"
},
"billing_address_collection": "auto",
"client_reference_id": "<string>",
"customer": "<string>",
"customer_email": "[email protected]",
"expires_at": 123,
"locale": "<string>",
"metadata": {},
"payment_intent": "<string>",
"payment_method_types": [
"<string>"
],
"setup_intent": "<string>",
"shipping": {
"address": {
"city": "<string>",
"country": "<string>",
"line1": "<string>",
"line2": "<string>",
"postal_code": "<string>",
"state": "<string>"
},
"name": "<string>",
"phone": "<string>"
},
"submit_type": "auto",
"total_details": {
"amount_discount": 123,
"amount_shipping": 123,
"amount_tax": 123
},
"productName": "<string>",
"externalCustomerId": "<string>"
}
],
"has_more": true,
"url": "<string>"
}API Key authentication using Bearer token
Filter by session status
PENDING, COMPLETED, EXPIRED, CANCELLED Number of sessions to return
1 <= x <= 100Cursor for pagination
Default Response
String representing the object's type
list An array of objects
Show child attributes
Unique identifier for the object
String representing the object's type
checkout.session Total of all items before discounts or taxes
Total of all items after discounts and taxes
The URL the customer will be directed to if they decide to cancel payment
Three-letter ISO currency code
Has the value true if the object exists in live mode or the value false if the object exists in test mode
The mode of the Checkout Session
payment, subscription, setup Payment status
paid, unpaid, no_payment_required The URL the customer will be directed to after the payment or subscription creation is successful
The URL to the Checkout Session
auto, required A unique string to reference the Checkout Session
ID of the customer
Email of the customer
Unix timestamp representing the time at which the Checkout Session expires
The IETF language tag of the locale
Set of key-value pairs that you can attach to an object
ID of the PaymentIntent
The list of payment method types (e.g. card) that this Checkout Session is allowed to accept
ID of the SetupIntent
Show child attributes
Describes the type of transaction being performed
auto, book, donate, pay Name of the product (Loops-specific)
External customer identifier (Loops-specific)
Whether there are more objects available after this set
The URL to access this list